/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.io.Serializable;

/**
 *
 * @author nhóm 1 - 10HT
 */
public class NhanVien implements Serializable {

	private int _maNV;
	private String _tenNV;
	private String _userName;
	private String _passWord;
	private int _loaiNV;
	private int _trangThai;

	public NhanVien(NhanVien tmp) {
		this._maNV = tmp._maNV;
		this._tenNV = tmp._tenNV;
		this._userName = tmp._userName;
		this._passWord = tmp._passWord;
		this._loaiNV = tmp._loaiNV;
		this._trangThai = tmp._trangThai;
	}

	public NhanVien() {
		this._maNV = 0;
		this._tenNV = "";
		this._userName = "";
		this._passWord = "";
		this._loaiNV = 0;
		this._trangThai = 0;
	}

	public NhanVien(String _userName, String _passWord) {
		this._maNV = 0;
		this._tenNV = "";
		this._userName = _userName;
		this._passWord = _passWord;
		this._loaiNV = 0;
		this._trangThai = 0;
	}

	public NhanVien(int _maNV, String _tenNV, String _userName, String _passWord, int _loaiNV, int _trangThai) {
		this._maNV = _maNV;
		this._tenNV = _tenNV;
		this._userName = _userName;
		this._passWord = _passWord;
		this._loaiNV = _loaiNV;
		this._trangThai = _trangThai;
	}

	public int getMaNV() {
		return _maNV;
	}

	public void setMaNV(int _maNV) {
		this._maNV = _maNV;
	}

	public String getTenNV() {
		return _tenNV;
	}

	public void setTenNV(String _tenNV) {
		this._tenNV = _tenNV;
	}

	public String getUserName() {
		return _userName;
	}

	public void setUserName(String _userName) {
		this._userName = _userName;
	}

	public String getPassWord() {
		return _passWord;
	}

	public void setPassWord(String _passWord) {
		this._passWord = _passWord;
	}

	public int getLoaiNV() {
		return _loaiNV;
	}

	public void setLoaiNV(int _loaiNV) {
		this._loaiNV = _loaiNV;
	}

	public int getTrangThai() {
		return _trangThai;
	}

	public void setTrangThai(int _trangThai) {
		this._trangThai = _trangThai;
	}

	@Override
	public String toString() {
		return this._tenNV;
	}
}
